package co.fitstart.entity.courseware.assessment;

import com.demo2do.core.utils.Alias;

/**
 * 体态(用于3个选项)
 * @author haiyan_xiao
 *
 */
@Alias("postureForThreeOptions")
public enum PostureForThreeOptions {
    NORMAL("normal", "中立位", "中立位", "中立位", "中立位", "正常"),
    
    LEFT("left", "前引", "前倾", "膝外翻", "左高", "内扣"),
    
    RIGHT("right", "后仰", "后倾", "膝内翻", "右高", "外扣");
    
    private String alias;
    
    /** 头部 */
    private String head;
    
    /** 骨盆 */
    private String pelvis;
    
    /** 膝关节 */
    private String kneeJoint;
    
    /** 髋关节 */
    private String hipJoint;
    
    /** 膝盖伸展方向 */
    private String kneeDirection;
    
    private PostureForThreeOptions(String alias, String head, String pelvis, String kneeJoint, String hipJoint, String kneeDirection) {
        this.alias = alias;
        this.head = head;
        this.pelvis = pelvis;
        this.kneeJoint = kneeJoint;
        this.hipJoint = hipJoint;
        this.kneeDirection = kneeDirection;
    }
    
    /**
     * 
     * @param alias
     * @return
     */
    public static PostureForThreeOptions aliasOf(String alias) {
        for (PostureForThreeOptions postureForThreeOptions : PostureForThreeOptions.values()) {
            if (postureForThreeOptions.alias.equalsIgnoreCase(alias)) {
                return postureForThreeOptions;
            }
        }
        
        return null;
    }

    /**
     * @return the alias
     */
    public String getAlias() {
        return alias;
    }

    /**
     * @return the head
     */
    public String getHead() {
        return head;
    }

    /**
     * @return the pelvis
     */
    public String getPelvis() {
        return pelvis;
    }

    /**
     * @return the kneeJoint
     */
    public String getKneeJoint() {
        return kneeJoint;
    }

    /**
     * @return the hipJoint
     */
    public String getHipJoint() {
        return hipJoint;
    }

    /**
     * @return the kneeDirection
     */
    public String getKneeDirection() {
        return kneeDirection;
    }

    /**
     * @param alias the alias to set
     */
    public void setAlias(String alias) {
        this.alias = alias;
    }

    /**
     * @param head the head to set
     */
    public void setHead(String head) {
        this.head = head;
    }

    /**
     * @param pelvis the pelvis to set
     */
    public void setPelvis(String pelvis) {
        this.pelvis = pelvis;
    }

    /**
     * @param kneeJoint the kneeJoint to set
     */
    public void setKneeJoint(String kneeJoint) {
        this.kneeJoint = kneeJoint;
    }

    /**
     * @param hipJoint the hipJoint to set
     */
    public void setHipJoint(String hipJoint) {
        this.hipJoint = hipJoint;
    }

    /**
     * @param kneeDirection the kneeDirection to set
     */
    public void setKneeDirection(String kneeDirection) {
        this.kneeDirection = kneeDirection;
    }
}
